﻿using SqlSugar;

namespace Forum.Model.Entity
{
    /// <summary>
    /// 友情链接
    /// </summary>
    [SugarTable("Link")]
    public class Link
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
        public string Id { get; set; }

        /// <summary>
        /// 网站名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 介绍
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 网址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 友链用户邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public bool Visible { get; set; }
    }
}